package com.woniuxy.health.auth.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.health.auth.entity.User;
import com.woniuxy.health.auth.mapper.UserMapper;
import com.woniuxy.health.auth.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User findRoleAndPerms(String account) {

        return userMapper.findRoleAndPerms(account);
    }
}